package com.ang.mybatisplus.sensitive.domain;

import com.ang.annotation.SensitiveEntity;
import com.ang.annotation.SensitiveField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

/**
 * <p>
 *
 * </p>
 *
 * @author ssang
 * @since 2022-10-15
 */
@Data
@SensitiveEntity
public class SensitiveUser extends Model<SensitiveUser> {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Integer id;

    @SensitiveField
    private String name;

    private Integer age;

    private String sex;

}
